import 'package:flutter/material.dart';
import 'package:flutter_hkzf/pages/home/tab_index/index_navigator.dart';
import 'package:flutter_hkzf/widgets/common_swiper.dart';

class TabIndex extends StatefulWidget {
  const TabIndex({Key? key}) : super(key: key);

  @override
  State<TabIndex> createState() => _TabIndexState();
}

class _TabIndexState extends State<TabIndex> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
        appBar: AppBar(
          title: const Text(
            "搜索",
          ),
          backgroundColor: Colors.teal,
        ),
        body: ListView(
          children: const [CommonSwiper(), IndexNavigator()],
        ));
  }
}
